include $(top_srcdir)/Makefile.xt
include $(wildcard *.dep)

SIGS             = P.str P.rtg
pkgdata_DATA     = P.rtree P.rtg P.rtg-nf

EXTRA_DIST       = $(SIGS) $(pkgdata_DATA)
CLEANFILES       = $(wildcard *.dep)
BOOTCLEANFILES   = $(SIGS) $(pkgdata_DATA)

P.rtg : P.def
	$(STRATEGO_REGULAR)/bin/sdf2rtg -i $< -o $@ -m P  

P.str : P.rtg
	$(STRATEGO_REGULAR)/bin/rtg2sig -i $< -o $@

P.def :
	ln -s $(top_srcdir)/syn/P.def $@
